<div class="M-checkBoxGroupHeader" ms-visible="hasOperator">
    <div class="M-checkBoxGroupHeaderSeachBox fl"  ms-visible="hasSearch" pub-name="search" pub-mod="@base/common/base.search"></div>
    <div class="M-checkBoxGroupHeaderOperatorBox fl mb10" ms-visible="hasOperator && !searchMode" ms-class="pl0:!hasSearch">
        <div ms-repeat-item="operator" class="content" ms-class="ml0:!hasSearch">
            <label class="cur_p" ms-attr-title="{{item.name}}">
                <a ms-click="operateClick(item.id)" type="checkbox" ms-duplex="operate" ms-value="item.id" class=""><span>{{item.name}}</span></a>
            </label>
        </div>
    </div>
</div>

<div ms-visible="!searchMode" class="M-checkBoxGroupBody clear" ms-class="mt20:hasSearch">
    <div ms-repeat-item="items" class="content" ms-css-width="width" ms-css-line-height="line_height">
        <label class="cur_p text-truncate" ms-attr-title="{{item[name]}}">
            <input ms-disabled="readonly" ms-click="itemClick(item[id])" type="checkbox" ms-duplex="data" ms-value="item[id]">
            <span>{{item[name]}}</span>
        </label>
    </div>
</div>

<div ms-visible="searchMode" class="M-checkBoxGroupBody clear" ms-class="mt20:searchMode">
    <div ms-repeat-item="searchItems" class="content" ms-css-width="width" ms-css-line-height="line_height">
        <label class="cur_p text-truncate" ms-attr-for="_id_search_{{prefix}}_{{item[id]}}" ms-attr-title="{{item[name]}}">
            <input ms-disabled="readonly" ms-click="itemSearchClick(item[id])" type="checkbox" ms-duplex="searchData" ms-value="item[id]">
            <span>{{item[name]}}</span>
        </label>
    </div>
</div>

